5e8c89f41c1a0afed822e5abf6e406f6149050ef,arquillian/common/src/main/java/org/jboss/as/arquillian/container/ManagementClient.java,MBeanConnectionProxy,removeNotificationListener,#ObjectName#NotificationListener#,730
Before Change
*/
public void removeNotificationListener(ObjectName name, NotificationListener listener)
throws InstanceNotFoundException, ListenerNotFoundException, IOException {
checkConnection();
connection.removeNotificationListener(name, listener);
}
After Change
@Override
public void removeNotificationListener(ObjectName name, NotificationListener listener)
throws InstanceNotFoundException, ListenerNotFoundException, IOException {
try {
connection.removeNotificationListener(name, listener);
} catch (IOException e) {
if (!checkConnection()) {
connection.removeNotificationListener(name, listener);
} else {
throw e;
}
}
}